package edu.zut.cs.software.estateagent.notice.service.impl;


import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import edu.zut.cs.software.base.service.impl.GenericManagerImpl;
import edu.zut.cs.software.estateagent.notice.dao.AdvetisementDao;
import edu.zut.cs.software.estateagent.notice.domain.Advetisement;
import edu.zut.cs.software.estateagent.notice.service.AdvetisementManager;

@Component
@Transactional
public class AdvetisementManagerImpl extends GenericManagerImpl<Advetisement, Long> implements AdvetisementManager {
	AdvetisementDao advetisementDao; 

	@Override
	public Advetisement findbyUsername(String username) {
		// TODO Auto-generated method stub
		return null;
	}

	@Autowired
	public void setRentingDao(AdvetisementDao advetisementDao) {
		this.advetisementDao = advetisementDao;
		this.dao = this.advetisementDao;
	}
}